<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style>
			img{
				width: 200px;
				height: 200px;
				border-radius: 50%;
				position: absolute;
				left: 40%;
				top: 40%;
			}
			div{
				width: 200px;
				height: 200px;
				background: #000;
				border-radius: 50%;
				position: absolute;
				left: 40%;
				top: 40%;
				text-align: center;
				line-height: 190px;
				color: #fff;
				font-size: 20px;
			}
			@keyframes move{
				0%{transform: rotateX(0deg)}
				50%{transform: rotateX(90deg)}
				100%{transform: rotateX(180deg);}
			}
			img:hover{
				animation: move 3s alternate forwards;
				transform-origin: top;
			}
		</style>
	</head>
	<body>
		<div>我是镜子</div>
		<img src="img/1.jpg" />
	</body>
</html>
